package com.polymorphic.dynamic;

/**
 * @Author 小闽
 * @Date 2024/8/12 18:28
 * @PackageName: com.polymorphic.dynamic
 * @ClassName: A
 * @Description: A类
 * @Version 1.0
 */
public class A {
    public int i = 10;
    public int sum(){
        return getI() + 10;
    }
    public int sum1(){
        return i + 10;
    }
    public int getI(){
        return i;
    }
}
